<?php /* Smarty version 2.6.26, created on 2013-10-07 08:23:07
         compiled from ./admin/role_list.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../templates/admin/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<script type="text/javascript" src="js/role_manager_delete.js">
</script>

<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='3' id='list-table'>
  <tr>
    <th>角色名</th>
    <th>角色描述</th>
    <th>操作</th>
  </tr>
  <?php $_from = $this->_tpl_vars['role_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['list']):
?>
  <tr>
    <td class="first-cell" ><?php echo $this->_tpl_vars['list']['role_name']; ?>
</td>
    <td class="first-cell" ><?php echo $this->_tpl_vars['list']['role_desc']; ?>
</td>
    <td align="center">
      <a href="role.php?act=edit&id=<?php echo $this->_tpl_vars['list']['role_id']; ?>
" title="编辑" ><img src="images/icon_edit.gif" border="0" height="16" width="16"></a>&nbsp;&nbsp;
      <a href="javascript:;" title="移除" onclick="remove(this,'role.php?act=delete&id=<?php echo $this->_tpl_vars['list']['role_id']; ?>
')" ><img src="images/icon_drop.gif" border="0" height="16" width="16"></a>
      </td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
</table>
</div>


